#include "track.h"

#include<QLabel>

Track::Track(Song *song, QWidget *parent):QListWidgetItem(song->data()->title, (QListWidget*) parent)
{

}

Track::~Track()
{

}

void Track::emph(bool e){
    if(e){
        //setDown(true);
        setBackground(Qt::red);
        QFont f = font();
        f.setBold(true);
        setFont(f);
    }else{
        //setDown(false);
        setBackground(Qt::white);
        QFont f = font();
        f.setBold(false);
        setFont(f);
    }
}
